package com.sunlg.smarthome.contract;

import com.sunlg.smarthome.base.IBasePresenter;
import com.sunlg.smarthome.base.IBaseView;

/**
 * Created by sunlg on 2017/5/27.
 */

public interface PumpCtrlContract {
    interface View extends IBaseView{
        void startPumpSuccess();
        void stopPumpSuccess();
    }

    interface Presenter extends IBasePresenter<View>{
        void startPump(int pumpId, int level);
        void stopPump(int pumpId);
    }
}
